package com.navi.loaddata.core.gpEntity.hisToGP;

import javax.persistence.*;
import java.sql.Date;
import java.sql.Timestamp;

/**
 * Created by admin on 2018/2/24.
 */
@Entity
@Table(name="m_cald_d", schema = "dm" , catalog = "")
public class MCaldD {
    private int caldKey;
    private String unqSeqId;
    private Date caldDate;
    private int dayInMon;
    private int dayInWeek;
    private int week;
    private int mon;
    private int ssn;
    private int year;
    private int workDayFlg;
    private String validFlg;
    private Timestamp evtTimestamp;
    private String evtUser;

    @Id
    @Column(name = "cald_key")
    public int getCaldKey() {
        return caldKey;
    }

    public void setCaldKey(int caldKey) {
        this.caldKey = caldKey;
    }

    @Basic
    @Column(name ="unq_seq_id")
    public String getUnqSeqId() {
        return unqSeqId;
    }

    public void setUnqSeqId(String unqSeqId) {
        this.unqSeqId = unqSeqId;
    }

    @Basic
    @Column(name = "cald_date")
    public Date getCaldDate() {
        return caldDate;
    }

    public void setCaldDate(Date caldDate) {
        this.caldDate = caldDate;
    }

    @Basic
    @Column(name = "day_in_mon")
    public int getDayInMon() {
        return dayInMon;
    }

    public void setDayInMon(int dayInMon) {
        this.dayInMon = dayInMon;
    }

    @Basic
    @Column(name="day_in_week")
    public int getDayInWeek() {
        return dayInWeek;
    }

    public void setDayInWeek(int dayInWeek) {
        this.dayInWeek = dayInWeek;
    }

    @Basic
    @Column(name="week")
    public int getWeek() {
        return week;
    }

    public void setWeek(int week) {
        this.week = week;
    }

    @Basic
    @Column(name = "mon")
    public int getMon() {
        return mon;
    }

    public void setMon(int mon) {
        this.mon = mon;
    }

    @Basic
    @Column(name="ssn")
    public int getSsn() {
        return ssn;
    }

    public void setSsn(int ssn) {
        this.ssn = ssn;
    }

    @Basic
    @Column(name = "year")
    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    @Basic
    @Column(name = "work_day_flg")
    public int getWorkDayFlg() {
        return workDayFlg;
    }

    public void setWorkDayFlg(int workDayFlg) {
        this.workDayFlg = workDayFlg;
    }

    @Basic
    @Column(name = "valid_flag")
    public String getValidFlg() {
        return validFlg;
    }

    public void setValidFlg(String validFlg) {
        this.validFlg = validFlg;
    }

    @Basic
    @Column(name = "evt_timestamp")
    public Timestamp getEvtTimestamp() {
        return evtTimestamp;
    }

    public void setEvtTimestamp(Timestamp evtTimestamp) {
        this.evtTimestamp = evtTimestamp;
    }

    @Basic
    @Column(name = "evt_user")
    public String getEvtUser() {
        return evtUser;
    }

    public void setEvtUser(String evtUser) {
        this.evtUser = evtUser;
    }

    @Basic
    @Column(name = "evt_note")
    public String getEvtNote() {
        return evtNote;
    }

    public void setEvtNote(String evtNote) {
        this.evtNote = evtNote;
    }

    private String evtNote;
}
